package com.tidc.seaservermodel.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * (Role)实体类
 *
 * @author makejava
 * @since 2020-09-11 11:29:56
 */
@Data
@NoArgsConstructor

@Accessors(chain = true) //这个注解可以使这个类的set方法返回当前对象
public class Role implements Serializable {
    private static final long serialVersionUID = -83852036274676402L;
    
    private Integer id;
    
    private String name;
    
    private String nameZh;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNameZh() {
        return nameZh;
    }

    public void setNameZh(String nameZh) {
        this.nameZh = nameZh;
    }

}